package cn.fan.whale.mapper;

import cn.fan.whale.entity.po.DepartmentEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {

    DepartmentEntity selectByPrimaryKey(Integer deptId);

    List<DepartmentEntity> selectBySelective(DepartmentEntity record);

    void insert(DepartmentEntity record);

    void updateByPrimaryKeySelective(DepartmentEntity record);

    void deleteByPrimaryKey(Integer deptId);
}
